<?php

class Zend_View_Helper_GetPaymentName{
	
	public function getPaymentName($payment){
  
		$paymentStr='';

       	switch (strtolower(trim($payment))){
       		
       		case 'paypal':
       			$paymentStr='Paypal';
       		break;
       		
       		case 'alipay':
       			$paymentStr='Alipay';
       		break;
       		
       		case 'west union':
       			$paymentStr='West Union';
       		break;
       		
       		case 'west':
       			$paymentStr='West Union';
       		break;
       		
       		case 'tt':
       			$paymentStr='T/T';
       		break;
       		
       		case 'coupon':
       			$paymentStr='Coupon';
       		break;
       		
       	}
	
       	return $paymentStr;
       	
	}

}

